package com.pig4cloud.pig.choice.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

/**
 * 选项表
 *
 * @author pig
 * @date 2025-04-11 17:15:07
 */
@Data
@TableName("choice")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "选项表")
public class ChoiceEntity extends Model<ChoiceEntity> {


	/**
	* 问题选项id
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="问题选项id")
    private Integer id;

	/**
	* 选项值
	*/
    @Schema(description="选项值")
    private String choiceNum;

	/**
	* 没有，很少，有时，经常，总是
	*/
    @Schema(description="没有，很少，有时，经常，总是")
    private String choiceContent;

	/**
	* 选项分值
	*/
    @Schema(description="选项分值")
    private Integer score;

	/**
	* 是否删除 0：不删除 1：删除
	*/
    @Schema(description="是否删除 0：不删除 1：删除")
    private Integer del;
 
	/**
	* createAt
	*/
    @Schema(description="createAt")
    private String createAt;
 
	/**
	* createDate
	*/
    @Schema(description="createDate")
    private LocalDateTime createDate;
 
	/**
	* modifyAt
	*/
    @Schema(description="modifyAt")
    private String modifyAt;
 
	/**
	* modifyDate
	*/
    @Schema(description="modifyDate")
    private LocalDateTime modifyDate;
}
